<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" 
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" 
      lang="cn">
  <head>
    <meta charset="UTF-8">
    <title>案例管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    
     <link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon" />
     <link rel="stylesheet" th:href="@{/jstree/themes/default/style.min.css}" />
    <link rel="stylesheet" th:href="@{/css/font-awesome.min.css}">
	<link rel="stylesheet" th:href="@{/css/xadmin.css}">
	<script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/layui/layui.js}" charset="utf-8"></script>
    <script type="text/javascript" th:src="@{/js/xadmin.js}"></script>
    <script type="text/javascript" th:src="@{/js/common.js}"></script>
    <script type="text/javascript" th:src="@{/js/case-sel.js}"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script th:src="@{/js/html5shiv.min.js}"></script>
      <script th:src="@{/js/respond.min.js}"></script>
    <![endif]-->
  </head>
  
  <body>
  <input type="hidden" id="caseIds" th:attr="value=${caseIds}"/>
    <div class="x-nav">
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
     <div class="layui-row">
	  <form class="layui-form layui-col-md12 x-so">
          <input class="layui-input" placeholder="案例名称"  id="caseName">
          <div class="layui-input-inline">
             <select id = "appId">
		         <option th:each="obj,iterStat:${applist}" th:attr="value=${obj.id}" th:text="${obj.appName}+'('+${obj.appType == 1?'ANDROID':'IOS'}+')'"></option>
		      </select>
          </div>
		   <button  class="layui-btn" type="button" id="search-btn"><i class="fa fa-search" aria-hidden="true" style="margin-right:10px;"></i>查询</button>
        </form>
      </div>
    <div class="layui-form">
      <table class="layui-table">
        <thead>
          <tr>
            <th>
              <input type="checkbox" id="selectAll"  lay-filter="selectall-btn" lay-skin="primary"/>全选
              <input type="checkbox" id="selectFx"  lay-filter="selectfx-btn" lay-skin="primary"/>反选
            </th>
            <th>应用(平台)</th>
            <th>案例名称</th>
            <th>类型</th>
            <th>状态</th>
            </tr>
        </thead>
        <tbody id="dg">
         
        </tbody>
      </table>
      <div id="page"></div>
      </div>
    <div class="layui-form-item" style="text-align:center;margin-top:10px;">
		<button id="save-btn"  class="layui-btn"  type="button">
			 <i class="fa fa-floppy-o" style="margin-right:10px;"></i>确定
		</button>
  </div>
    </div>
  </body>

</html>